﻿<!--
// Copyright (c) 2011 Frank Kohlhepp
// https://github.com/frankkohlhepp/fancy-settings
// License: LGPL v2.1
-->
<!DOCTYPE html>
<html>
    <head>
        <meta charset="gbk">
        <title id="title"></title>
        
        <!-- Stylesheets -->
        <link id="favicon" rel="icon" href="">
        <link rel="stylesheet" href="lib/default.css" media="screen">
        <link rel="stylesheet" href="css/main.css" media="screen">
        <link rel="stylesheet" href="css/setting.css" media="screen">

        <!-- JavaScripts -->
        <script src="lib/mootools-core.js"></script>
        <script src="lib/store.js"></script>
        <script src="js/classes/tab.js"></script>
        <script src="js/classes/setting.js"></script>
        <script src="js/classes/search.js"></script>
        <script src="js/classes/fancy-settings.js"></script>
        <script src="js/i18n.js"></script>
        <script src="manifest.js"></script>
        <script src="settings.js"></script>
        <script src=" http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=3916367922" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			function refresh() {
				chrome.extension.sendRequest( {action: 'refresh'}, function(){} );
			}
            /*
            WB2.anyWhere(function(W){
                W.widget.connectButton({
                    id: "wb_connect_btn",
                    type: '3,2',
                    callback : {
                        login:function(o){
                            alert(o.screen_name)
                        },
                        logout:function(){
                            alert('logout');
                        }
                    }
                });
            });*/
		</script>
    </head>

    <body class="no-select">
        <div id="sidebar" class="fancy">
            <img id="icon" src="" alt=""><h1 id="settings-label"></h1>
            <div id="tab-container">
				<div id="refresh" style="position:fixed; top:95px; left:5px"><a href="" onClick="refresh()">刷新微博页面</a></div>
                <div id="wb_connect_btn" style="position:fixed; top:430px; left:100px"></div>
                <div id="search-container" class="tab">
                    <input id="search" type="search" placeholder="">
                </div>
            </div>
        </div>
        <div id="content">
            <div id="search-result-container" class="tab-content">
                <h2 id="search-label"></h2>
            </div>
			<div id="hover" style="z-index:9; border: solid 1px;"></div>
        </div>
    </body>
</html>
